		<div id="userpanel">
<?php 
	$user = SecurityManager::getUser();  
	if( $user == null ) {
?>			
			<form id="login" method="POST" action="<?php Util::getLink("panel/login", true); ?>">
				<p><label for="login">Login</label><input type="text" name="login">
				<label for="password">Password</label><input type="password" name="password">
				<button type="submit">Send</button></p>
			</form>			
<?php } else { ?>
			<div id="userlinks">
				<span class="first"></span>
				<span class="item"><a href="<?php Util::getLink("panel/profile", true) ?>">Perfil</a></span>
				<span class="right"></span>
				<span class="left"></span>
				<span class="item"><a href="<?php Util::getLink("panel/messages", true) ?>">Mensagens</a></span>
				<span class="right"></span>
				<span class="first"></span>
				<span class="item"><a href="<?php Util::getLink("panel/logout", true) ?>">Logout</a></span>
				<span class="last"></span>
			</div>
<?php } ?>
		</div><?php echo "\n"; ?>
